<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <h1 style="font-size: 50px;margin-top:50px">Panda-Shop</h1>
        <form id="login-form"  method="post" name="formLogin" novalidate ng-submit="login(formLogin.$valid)" >
            <div class="form-group field-loginform-username required has-success">
                <input type="text" ng-model="email" name="email" class="form-control"  placeholder="Username" required>
            </div>            
            <div class="form-group field-loginform-password required has-success">
                <input type="password" ng-model="password" name="password" class="form-control" placeholder="Password" required>
            </div>   
            <input type="submit"  class="btn btn-primary block full-width m-b" name="button" value="Đăng nhập" />

            <a href="/backend/web/index.php?r=index%2Fforget"><small>Forgot password?</small></a>
            <br/>
            <div id="container-error">
                <small>
                    <div class="alert text-left alert-danger  error-summary" ng-show="submited && formLogin.$invalid">
                        
                        <ul>
                            <li ng-show="formLogin.email.$error.required">Bạn chưa nhập email</li>
                            <li ng-show="formLogin.password.$error.required">Bạn chưa nhập mật khẩu</li>
                        </ul>
                    </div>
                    
                </small>
            </div>    
            
        </form>    
    </div>
</div>
